package com.nuanshui.heatedloan.credit.facade.third.party;

import com.nuanshui.heatedloan.credit.form.CustomerJingDongInfoForm;
import com.nuanshui.heatedloan.credit.vo.CustomerJingDongInfoVO;

import java.util.List;
import java.util.Map;

/**
 * Created by wangxw on 2017/7/8.
 */
public interface JingDongAuthService {

    /***
     * 京东认证
     * @param customerJingDongInfoForm
     * @return
     */
    Map<String,Object> jingDongAuth(CustomerJingDongInfoForm customerJingDongInfoForm);

    /***
     * 京东认证数据的保存
     * @param customerJingDongInfoForm
     * @return
     */
    CustomerJingDongInfoForm saveCustomerJingDongInfo(CustomerJingDongInfoForm customerJingDongInfoForm);

    /***
     * 根据用户id获取京东认证数据
     * @param userId
     * @return
     */
    CustomerJingDongInfoVO loadVOByUserId(String userId);

    /***
     * 获取所以得数据
     * @return
     */
    List<CustomerJingDongInfoVO> loadVOAll();

}
